home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / riaf70x.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  45.4 KB  |  1,581 lines

  1. *%
  2. *%  Core GPD file for Ricoh PCL5e printer
  3. *%    FileName: RIAF70X.GPD
  4. *%    Created:  2000/06/01
  5. *%    Modified: 2001/12/06
  6. *%
  7. *%    Copyright (c) 1999 - 2001 Ricoh Co., Ltd.
  8. *%    All rights reserved.
  9. *%
  10. *GPDFileVersion: "1.203"
  11. *Include: "TTFSUB.GPD"
  12. *Include: "RIAF5MAC.GPD"
  13. *MasterUnits: PAIR(1200, 1200)
  14. *ResourceDLL: "RIAFRES.DLL"
  15. *PrinterType: PAGE
  16. *MaxCopies: 999
  17. *rcInstalledOptionNameID: 330       *%%% "Installed"
  18. *rcNotInstalledOptionNameID: 329    *%%% "Not Installed"
  19.  
  20. *%======== Quality Macros ========
  21. *BestQualitySettings: LIST(Resolution.600dpi, PrintQuality.SmoothingOff, Halftone.HT_PATSIZE_8x8_M)
  22. *DraftQualitySettings: LIST(Resolution.300dpi, PrintQuality.SmoothingOn, Halftone.HT_PATSIZE_6x6_M)
  23. *DefaultQuality: BESTQUALITY
  24.  
  25. *%======== Memory ========
  26. *Feature: Memory
  27. {
  28.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  29.     *DefaultOption: 32768KB
  30.     *Option: 32768KB
  31.     {
  32.         *Name: "32MB"
  33.         *MemoryConfigKB: PAIR(32768, 28350)
  34.     }
  35. }
  36.  
  37. *Ifdef: USE_NT51_INBOX_PLUGIN
  38. *% Workaround for XP inbox riafui2.dll which doesn't support print job.
  39. *%======== Hard Disk (custom feature) ========
  40. *Feature: HardDisk
  41. {
  42.     *rcNameID: 380          *%%% "Hard Disk"
  43.     *FeatureType: PRINTER_PROPERTY
  44.     *DefaultOption: NotInstalled
  45.     *Option: NotInstalled
  46.     {
  47.         *rcNameID: 329
  48.     }
  49.     *Option: Installed
  50.     {
  51.         *rcNameID: 330
  52.     }
  53. }
  54. *Endif:
  55.  
  56. *%======== Finisher (custom feature) ========
  57. *Feature: Finisher
  58. {
  59.     *rcNameID: 287          *%%% "Finisher"
  60.     *FeatureType: PRINTER_PROPERTY
  61.     *DefaultOption: NotInstalled
  62.     *Option: NotInstalled
  63.     {
  64.         *rcNameID: 329
  65.         *Constraints: OutputBin.FinisherProofTray
  66.         *Constraints: OutputBin.FinisherShiftTray
  67. *%      *Constraints: OutputBin.BookletFinisherTray
  68.         *Constraints: Stapling.TopLeftSlant
  69.         *Constraints: Stapling.TopLeftVertical
  70.         *Constraints: Stapling.TopLeftHorizontal
  71.         *Constraints: Stapling.Top2
  72.         *Constraints: Stapling.Left2
  73.         *Constraints: Stapling.Booklet
  74.         *Constraints: PunchUnit.Installed
  75.         *DisabledFeatures: LIST(Stapling)
  76.     }
  77.     *Option: Finisher3000M
  78.     {
  79.         *rcNameID: 398          *%%% "Finisher 3000M"
  80.         *Constraints: OutputBin.ExternalTray
  81. *%      *Constraints: OutputBin.BookletFinisherTray
  82.         *Constraints: Stapling.Booklet
  83.     }
  84.     *Option: Finisher3000B
  85.     {
  86.         *rcNameID: 399          *%%% "Finisher 3000B"
  87.         *Constraints: OutputBin.ExternalTray
  88. *%      *Constraints: OutputBin.BookletFinisherTray
  89.         *Constraints: Stapling.Booklet
  90.         *Constraints: Mailbox.Installed
  91.     }
  92.     *Option: BookletFinisher
  93.     {
  94.         *rcNameID: 400          *%%% "Booklet Finisher"
  95.         *Constraints: OutputBin.ExternalTray
  96.         *Constraints: PunchUnit.Installed
  97.         *Constraints: Mailbox.Installed
  98.     }
  99. }
  100.  
  101. *%======== Punch Unit (custom feature) ========
  102. *Feature: PunchUnit
  103. {
  104.     *rcNameID: 401          *%%% "Punch Unit"
  105.     *FeatureType: PRINTER_PROPERTY
  106.     *DefaultOption: NotInstalled
  107.     *Option: NotInstalled
  108.     {
  109.         *rcNameID: 329
  110.         *Constraints: Punching.Left
  111.         *Constraints: Punching.Top
  112.     }
  113.     *Option: Installed
  114.     {
  115.         *rcNameID: 330
  116.     }
  117. }
  118.  
  119. *%======== Mailbox (custom feature) ========
  120. *Feature: Mailbox
  121. {
  122.     *rcNameID: 354          *%%% "Mailbox"
  123.     *FeatureType: PRINTER_PROPERTY
  124.     *DefaultOption: NotInstalled
  125.     *Option: NotInstalled
  126.     {
  127.         *rcNameID: 329
  128.         *Constraints: OutputBin.OutputBin1
  129.         *Constraints: OutputBin.OutputBin2
  130.         *Constraints: OutputBin.OutputBin3
  131.         *Constraints: OutputBin.OutputBin4
  132.         *Constraints: OutputBin.OutputBin5
  133.         *Constraints: OutputBin.OutputBin6
  134.         *Constraints: OutputBin.OutputBin7
  135.         *Constraints: OutputBin.OutputBin8
  136.         *Constraints: OutputBin.OutputBin9
  137.         *Constraints: OutputBin.MailboxProofTray
  138.     }
  139.     *Option: Installed
  140.     {
  141.         *rcNameID: 330
  142.         *Constraints: OutputBin.ExternalTray
  143.     }
  144. }
  145.  
  146. *%======== Orientation ========
  147. *Feature: Orientation
  148. {
  149.     *rcNameID: =ORIENTATION_DISPLAY
  150.     *DefaultOption: PORTRAIT
  151.     *Option: PORTRAIT
  152.     {
  153.         *rcNameID: =PORTRAIT_DISPLAY
  154.     }
  155.     *Option: LANDSCAPE_CC90
  156.     {
  157.         *rcNameID: =LANDSCAPE_DISPLAY
  158.     }
  159. }
  160.  
  161. *%======== InputBin ========
  162. *Macros: CmdStrings_InputBin
  163. {
  164.     PRECMD_INPUTBIN_PORT: "<1B>&l0O"
  165.     PRECMD_INPUTBIN_LAND: "<1B>&l1O"
  166. }
  167. *Feature: InputBin
  168. {
  169.     *rcNameID: =PAPER_SOURCE_DISPLAY
  170.     *DefaultOption: AUTO
  171.     *Option: AUTO
  172.     {
  173.         *rcNameID: 267          *%%% "Auto Select by Printer"
  174.         *switch: Orientation
  175.         {
  176.             *case: PORTRAIT
  177.             {
  178.                 *Command: CmdSelect
  179.                 {
  180.                     *Order: DOC_SETUP.30
  181.                     *NoPageEject?: TRUE
  182.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l7H"
  183.                 }
  184.             }
  185.             *case: LANDSCAPE_CC90
  186.             {
  187.                 *Command: CmdSelect
  188.                 {
  189.                     *Order: DOC_SETUP.30
  190.                     *NoPageEject?: TRUE
  191.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l7H"
  192.                 }
  193.             }
  194.         }
  195.     }
  196.     *Option: BypassTray
  197.     {
  198.         *rcNameID: 272          *%%% "Bypass Tray"
  199.         *OptionID: 4            *%%% DMBIN_MANUAL
  200.         *switch: Orientation
  201.         {
  202.             *case: PORTRAIT
  203.             {
  204.                 *Command: CmdSelect
  205.                 {
  206.                     *Order: DOC_SETUP.30
  207.                     *NoPageEject?: TRUE
  208.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l2H"
  209.                 }
  210.             }
  211.             *case: LANDSCAPE_CC90
  212.             {
  213.                 *Command: CmdSelect
  214.                 {
  215.                     *Order: DOC_SETUP.30
  216.                     *NoPageEject?: TRUE
  217.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l2H"
  218.                 }
  219.             }
  220.         }
  221.     }
  222.     *Option: LARGECAPACITY
  223.     {
  224.         *rcNameID: 379          *%%% "Large Capacity Tray"
  225.         *Installable?: TRUE
  226.         *rcInstallableFeatureNameID: 379
  227.         *switch: Orientation
  228.         {
  229.             *case: PORTRAIT
  230.             {
  231.                 *Command: CmdSelect
  232.                 {
  233.                     *Order: DOC_SETUP.30
  234.                     *NoPageEject?: TRUE
  235.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l5H"
  236.                 }
  237.             }
  238.             *case: LANDSCAPE_CC90
  239.             {
  240.                 *Command: CmdSelect
  241.                 {
  242.                     *Order: DOC_SETUP.30
  243.                     *NoPageEject?: TRUE
  244.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l5H"
  245.                 }
  246.             }
  247.         }
  248.     }
  249.     *Option: Tray1
  250.     {
  251.         *rcNameID: 268          *%%% "Tray 1"
  252.         *OptionID: 1            *%%% DMBIN_UPPER
  253.         *switch: Orientation
  254.         {
  255.             *case: PORTRAIT
  256.             {
  257.                 *Command: CmdSelect
  258.                 {
  259.                     *Order: DOC_SETUP.30
  260.                     *NoPageEject?: TRUE
  261.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l8H"
  262.                 }
  263.             }
  264.             *case: LANDSCAPE_CC90
  265.             {
  266.                 *Command: CmdSelect
  267.                 {
  268.                     *Order: DOC_SETUP.30
  269.                     *NoPageEject?: TRUE
  270.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l8H"
  271.                 }
  272.             }
  273.         }
  274.     }
  275.     *Option: Tray2
  276.     {
  277.         *rcNameID: 269          *%%% "Tray 2"
  278.         *OptionID: 3            *%%% DMBIN_MIDDLE
  279.         *switch: Orientation
  280.         {
  281.             *case: PORTRAIT
  282.             {
  283.                 *Command: CmdSelect
  284.                 {
  285.                     *Order: DOC_SETUP.30
  286.                     *NoPageEject?: TRUE
  287.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l1H"
  288.                 }
  289.             }
  290.             *case: LANDSCAPE_CC90
  291.             {
  292.                 *Command: CmdSelect
  293.                 {
  294.                     *Order: DOC_SETUP.30
  295.                     *NoPageEject?: TRUE
  296.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l1H"
  297.                 }
  298.             }
  299.         }
  300.     }
  301.     *Option: Tray3
  302.     {
  303.         *rcNameID: 270          *%%% "Tray 3"
  304.         *OptionID: 2            *%%% DMBIN_LOWER
  305.         *switch: Orientation
  306.         {
  307.             *case: PORTRAIT
  308.             {
  309.                 *Command: CmdSelect
  310.                 {
  311.                     *Order: DOC_SETUP.30
  312.                     *NoPageEject?: TRUE
  313.                     *Cmd: =PRECMD_INPUTBIN_PORT "<1B>&l4H"
  314.                 }
  315.             }
  316.             *case: LANDSCAPE_CC90
  317.             {
  318.                 *Command: CmdSelect
  319.                 {
  320.                     *Order: DOC_SETUP.30
  321.                     *NoPageEject?: TRUE
  322.                     *Cmd: =PRECMD_INPUTBIN_LAND "<1B>&l4H"
  323.                 }
  324.             }
  325.         }
  326.     }
  327. }
  328.  
  329. *%======== MediaType ========
  330. *Feature: MediaType
  331. {
  332.     *rcNameID: =MEDIA_TYPE_DISPLAY
  333.     *DefaultOption: STANDARD
  334.     *Option: STANDARD
  335.     {
  336.         *rcNameID: =PLAIN_PAPER_DISPLAY
  337.         *Command: CmdSelect
  338.         {
  339.             *Order: JOB_SETUP.80
  340.             *Cmd: "@PJL SET FUSERCONTROL=PLAINPAPER<0A>"
  341.         }
  342.     }
  343.     *Option: TRANSPARENCY
  344.     {
  345.         *rcNameID: =TRANSPARENCY_DISPLAY
  346.         *Command: CmdSelect
  347.         {
  348.             *Order: JOB_SETUP.80
  349.             *Cmd: "@PJL SET FUSERCONTROL=TRANSPARENCY<0A>"
  350.         }
  351.     }
  352.     *Option: ThickPaper         *%%% custom option
  353.     {
  354.         *rcNameID: 378          *%%% "Thick Paper"
  355.         *Command: CmdSelect
  356.         {
  357.             *Order: JOB_SETUP.80
  358.             *Cmd: "@PJL SET FUSERCONTROL=THICK<0A>"
  359.         }
  360.     }
  361. }
  362. *InvalidCombination: LIST(InputBin.AUTO, MediaType.ThickPaper)
  363. *InvalidCombination: LIST(InputBin.AUTO, MediaType.TRANSPARENCY)
  364. *InvalidCombination: LIST(InputBin.LARGECAPACITY, MediaType.ThickPaper)
  365. *InvalidCombination: LIST(InputBin.LARGECAPACITY, MediaType.TRANSPARENCY)
  366. *InvalidCombination: LIST(InputBin.Tray1, MediaType.ThickPaper)
  367. *InvalidCombination: LIST(InputBin.Tray1, MediaType.TRANSPARENCY)
  368. *InvalidCombination: LIST(InputBin.Tray2, MediaType.ThickPaper)
  369. *InvalidCombination: LIST(InputBin.Tray2, MediaType.TRANSPARENCY)
  370. *InvalidCombination: LIST(InputBin.Tray3, MediaType.ThickPaper)
  371. *InvalidCombination: LIST(InputBin.Tray3, MediaType.TRANSPARENCY)
  372.  
  373. *%======== Resolution ========
  374. *Feature: Resolution
  375. {
  376.     *rcNameID: =RESOLUTION_DISPLAY
  377.     *DefaultOption: 600dpi
  378.     *Option: 600dpi
  379.     {
  380.         *rcNameID: 395          *%%% "600 dpi"
  381.         *DPI: PAIR(600, 600)
  382.         *TextDPI: PAIR(600, 600)
  383.         *MinStripBlankPixels: 32
  384.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  385.         *SpotDiameter: 100
  386.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  387.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  388.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  389.         *Command: CmdSelect
  390.         {
  391.             *Order: JOB_SETUP.90
  392.             *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A1B>E<1B>*t600R"
  393.         }
  394.     }
  395.     *Option: 300dpi
  396.     {
  397.         *rcNameID: 396          *%%% "300 dpi"
  398.         *DPI: PAIR(300, 300)
  399.         *TextDPI: PAIR(300, 300)
  400.         *MinStripBlankPixels: 32
  401.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  402.         *SpotDiameter: 100
  403.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  404.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  405.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  406.         *Command: CmdSelect
  407.         {
  408.             *Order: JOB_SETUP.90
  409.             *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A1B>E<1B>*t300R"
  410.         }
  411.     }
  412. }
  413.  
  414. *%======== PaperSize ========
  415. *Feature: PaperSize
  416. {
  417.     *rcNameID: =PAPER_SIZE_DISPLAY
  418.     *DefaultOption: LETTER
  419.     *Option: 11X17
  420.     {
  421.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  422.         *switch: Orientation
  423.         {
  424.             *case: PORTRAIT
  425.             {
  426.                 *PrintableArea: PAIR(12600, 19800)
  427.                 *PrintableOrigin: PAIR(300, 300)
  428.                 *CursorOrigin: PAIR(300, 200)
  429.                 *Command: CmdSelect
  430.                 {
  431.                     *Order: DOC_SETUP.40
  432.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t7560x12000Y"
  433.                 }
  434.             }
  435.             *case: LANDSCAPE_CC90
  436.             {
  437.                 *PrintableArea: PAIR(12600, 19800)
  438.                 *PrintableOrigin: PAIR(300, 300)
  439.                 *CursorOrigin: PAIR(200, 20100)
  440.                 *Command: CmdSelect
  441.                 {
  442.                     *Order: DOC_SETUP.40
  443.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t11880x7680Y"
  444.                 }
  445.             }
  446.         }
  447.     }
  448.     *Option: LETTER
  449.     {
  450.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  451.         *switch: Orientation
  452.         {
  453.             *case: PORTRAIT
  454.             {
  455.                 *PrintableArea: PAIR(9600, 12648)
  456.                 *PrintableOrigin: PAIR(300, 300)
  457.                 *CursorOrigin: PAIR(300, 180)
  458.                 *Command: CmdSelect
  459.                 {
  460.                     *Order: DOC_SETUP.40
  461.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7704Y"
  462.                 }
  463.             }
  464.             *case: LANDSCAPE_CC90
  465.             {
  466.                 *PrintableArea: PAIR(9760, 12688)
  467.                 *PrintableOrigin: PAIR(200, 272)
  468.                 *CursorOrigin: PAIR(200, 12960)
  469.                 *Command: CmdSelect
  470.                 {
  471.                     *Order: DOC_SETUP.40
  472.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  473.                 }
  474.             }
  475.         }
  476.     }
  477.     *Option: LEGAL
  478.     {
  479.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  480.         *switch: Orientation
  481.         {
  482.             *case: PORTRAIT
  483.             {
  484.                 *PrintableArea: PAIR(9600, 16248)
  485.                 *PrintableOrigin: PAIR(300, 300)
  486.                 *CursorOrigin: PAIR(300, 180)
  487.                 *Command: CmdSelect
  488.                 {
  489.                     *Order: DOC_SETUP.40
  490.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9864Y"
  491.                 }
  492.             }
  493.             *case: LANDSCAPE_CC90
  494.             {
  495.                 *PrintableArea: PAIR(9760, 16284)
  496.                 *PrintableOrigin: PAIR(200, 276)
  497.                 *CursorOrigin: PAIR(200, 16560)
  498.                 *Command: CmdSelect
  499.                 {
  500.                     *Order: DOC_SETUP.40
  501.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  502.                 }
  503.             }
  504.         }
  505.     }
  506.     *Option: EXECUTIVE
  507.     {
  508.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  509.         *switch: Orientation
  510.         {
  511.             *case: PORTRAIT
  512.             {
  513.                 *PrintableArea: PAIR(8100, 12048)
  514.                 *PrintableOrigin: PAIR(300, 300)
  515.                 *CursorOrigin: PAIR(300, 180)
  516.                 *Command: CmdSelect
  517.                 {
  518.                     *Order: DOC_SETUP.40
  519.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7344Y"
  520.                 }
  521.             }
  522.             *case: LANDSCAPE_CC90
  523.             {
  524.                 *PrintableArea: PAIR(8220, 12080)
  525.                 *PrintableOrigin: PAIR(240, 280)
  526.                 *CursorOrigin: PAIR(200, 12360)
  527.                 *Command: CmdSelect
  528.                 {
  529.                     *Order: DOC_SETUP.40
  530.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
  531.                 }
  532.             }
  533.         }
  534.     }
  535.     *Option: STATEMENT
  536.     {
  537.         *rcNameID: 394          *%%% "5.5x8.5"
  538.         *switch: Orientation
  539.         {
  540.             *case: PORTRAIT
  541.             {
  542.                 *PrintableArea: PAIR(6000, 9600)
  543. *%                *PrintableOrigin: PAIR(300, 300)
  544.                 *PrintableOrigin: PAIR(300, 240)
  545.                 *CursorOrigin: PAIR(300, 180)
  546.                 *Command: CmdSelect
  547.                 {
  548.                     *Order: DOC_SETUP.40
  549.                     *Cmd: "<1B>&l2008a8c1E<1B>*p0x0Y<1B>*c0t3618x5778Y"
  550.                 }
  551.             }
  552.             *case: LANDSCAPE_CC90
  553.             {
  554.                 *PrintableArea: PAIR(6000, 9600)
  555. *%                *PrintableOrigin: PAIR(300, 300)
  556. *%                *CursorOrigin: PAIR(200, 9900)
  557.                 *PrintableOrigin: PAIR(300, 400)
  558.                 *CursorOrigin: PAIR(200, 10090)
  559.                 *Command: CmdSelect
  560.                 {
  561.                     *Order: DOC_SETUP.40
  562.                     *Cmd: "<1B>&l2008a8c1E<1B>*p0x0Y<1B>*c0t5778x3618Y"
  563.                 }
  564.             }
  565.         }
  566.     }
  567.     *Option: A3
  568.     {
  569.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  570.         *switch: Orientation
  571.         {
  572.             *case: PORTRAIT
  573.             {
  574.                 *PrintableArea: PAIR(13428, 19308)
  575.                 *PrintableOrigin: PAIR(300, 300)
  576.                 *CursorOrigin: PAIR(300, 180)
  577.                 *Command: CmdSelect
  578.                 {
  579.                     *Order: DOC_SETUP.40
  580.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8057x11693Y"
  581.                 }
  582.             }
  583.             *case: LANDSCAPE_CC90
  584.             {
  585.                 *PrintableArea: PAIR(13588, 19368)
  586.                 *PrintableOrigin: PAIR(200, 240)
  587.                 *CursorOrigin: PAIR(200, 19608)
  588.                 *Command: CmdSelect
  589.                 {
  590.                     *Order: DOC_SETUP.40
  591.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t11621x8177Y"
  592.                 }
  593.             }
  594.         }
  595.     }
  596.     *Option: A4
  597.     {
  598.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  599.         *switch: Orientation
  600.         {
  601.             *case: PORTRAIT
  602.             {
  603.                 *PrintableArea: PAIR(9292, 13476)
  604.                 *PrintableOrigin: PAIR(300, 300)
  605.                 *CursorOrigin: PAIR(300, 180)
  606.                 *Command: CmdSelect
  607.                 {
  608.                     *Order: DOC_SETUP.40
  609.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5594x8201Y"
  610.                 }
  611.             }
  612.             *case: LANDSCAPE_CC90
  613.             {
  614.                 *PrintableArea: PAIR(9464, 13516)
  615.                 *PrintableOrigin: PAIR(220, 272)
  616.                 *CursorOrigin: PAIR(200, 13788)
  617.                 *Command: CmdSelect
  618.                 {
  619.                     *Order: DOC_SETUP.40
  620.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8129x5714Y"
  621.                 }
  622.             }
  623.         }
  624.     }
  625.     *Option: A5
  626.     {
  627.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  628.         *switch: Orientation
  629.         {
  630.             *case: PORTRAIT
  631.             {
  632.                 *PrintableArea: PAIR(6416, 9420)
  633. *%                *PrintableOrigin: PAIR(300, 300)
  634.                 *PrintableOrigin: PAIR(300, 220)
  635.                 *CursorOrigin: PAIR(300, 180)
  636.                 *Command: CmdSelect
  637.                 {
  638.                     *Order: DOC_SETUP.40
  639.                     *Cmd: "<1B>&l2000a8c1E<1B>*p0x0Y<1B>*c0t3868x5670Y"
  640.                 }
  641.             }
  642.             *case: LANDSCAPE_CC90
  643.             {
  644.                 *PrintableArea: PAIR(6416, 9420)
  645. *%                *PrintableOrigin: PAIR(280, 204)
  646. *%                *CursorOrigin: PAIR(200, 9624)
  647.                 *PrintableOrigin: PAIR(280, 360)
  648.                 *CursorOrigin: PAIR(200, 9800)
  649.                 *Command: CmdSelect
  650.                 {
  651.                     *Order: DOC_SETUP.40
  652.                     *Cmd: "<1B>&l2000a8c1E<1B>*p0x0Y<1B>*c0t5670x3868Y"
  653.                 }
  654.             }
  655.         }
  656.     }
  657.     *Option: A6
  658.     {
  659.         *rcNameID: 259          *%%% "A6"
  660.         *PageDimensions: PAIR(4956, 6996)
  661.         *switch: Orientation
  662.         {
  663.             *case: PORTRAIT
  664.             {
  665.                 *PrintableArea: PAIR(4360, 6416)
  666.                 *PrintableOrigin: PAIR(300, 300)
  667.                 *CursorOrigin: PAIR(300, 180)
  668.                 *Command: CmdSelect
  669.                 {
  670.                     *Order: DOC_SETUP.40
  671.                     *Cmd: "<1B>&l2001a8c1E<1B>*p0x0Y<1B>*c0t2634x3868Y"
  672.                 }
  673.             }
  674.             *case: LANDSCAPE_CC90
  675.             {
  676.                 *PrintableArea: PAIR(4360, 6416)
  677.                 *PrintableOrigin: PAIR(296, 280)
  678.                 *CursorOrigin: PAIR(200, 6696)
  679.                 *Command: CmdSelect
  680.                 {
  681.                     *Order: DOC_SETUP.40
  682.                     *Cmd: "<1B>&l2001a8c1E<1B>*p0x0Y<1B>*c0t3868x2634Y"
  683.                 }
  684.             }
  685.         }
  686.     }
  687.     *Option: B4
  688.     {
  689.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  690.         *switch: Orientation
  691.         {
  692.             *case: PORTRAIT
  693.             {
  694.                 *PrintableArea: PAIR(11544, 16656)
  695.                 *PrintableOrigin: PAIR(300, 300)
  696.                 *CursorOrigin: PAIR(300, 180)
  697.                 *Command: CmdSelect
  698.                 {
  699.                     *Order: DOC_SETUP.40
  700.                     *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t6926x10102Y"
  701.                 }
  702.             }
  703.             *case: LANDSCAPE_CC90
  704.             {
  705.                 *PrintableArea: PAIR(11704, 16716)
  706.                 *PrintableOrigin: PAIR(200, 240)
  707.                 *CursorOrigin: PAIR(200, 16956)
  708.                 *Command: CmdSelect
  709.                 {
  710.                     *Order: DOC_SETUP.40
  711.                     *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t10030x7046Y"
  712.                 }
  713.             }
  714.         }
  715.     }
  716.     *Option: B5
  717.     {
  718.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  719.         *switch: Orientation
  720.         {
  721.             *case: PORTRAIT
  722.             {
  723.                 *PrintableArea: PAIR(8004, 11604)
  724.                 *PrintableOrigin: PAIR(300, 300)
  725.                 *CursorOrigin: PAIR(300, 180)
  726.                 *Command: CmdSelect
  727.                 {
  728.                     *Order: DOC_SETUP.40
  729.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4802x7070Y"
  730.                 }
  731.             }
  732.             *case: LANDSCAPE_CC90
  733.             {
  734.                 *PrintableArea: PAIR(8144, 11664)
  735.                 *PrintableOrigin: PAIR(220, 240)
  736.                 *CursorOrigin: PAIR(200, 11904)
  737.                 *Command: CmdSelect
  738.                 {
  739.                     *Order: DOC_SETUP.40
  740.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t6998x4922Y"
  741.                 }
  742.             }
  743.         }
  744.     }
  745.     *Option: GovernmentLegal
  746.     {
  747.         *rcNameID: 393          *%%% "8x13"
  748.         *PageDimensions: PAIR(9600, 15600)
  749.         *switch: Orientation
  750.         {
  751.             *case: PORTRAIT
  752.             {
  753.                 *PrintableArea: PAIR(9000, 15000)
  754.                 *PrintableOrigin: PAIR(300, 300)
  755.                 *CursorOrigin: PAIR(300, 180)
  756.                 *Command: CmdSelect
  757.                 {
  758.                     *Order: DOC_SETUP.40
  759.                     *Cmd: "<1B>&l2011a8c1E<1B>*p0x0Y<1B>*c0t5418x9018Y"
  760.                 }
  761.             }
  762.             *case: LANDSCAPE_CC90
  763.             {
  764.                 *PrintableArea: PAIR(9000, 15000)
  765.                 *PrintableOrigin: PAIR(300, 300)
  766.                 *CursorOrigin: PAIR(200, 15300)
  767.                 *Command: CmdSelect
  768.                 {
  769.                     *Order: DOC_SETUP.40
  770.                     *Cmd: "<1B>&l2011a8c1E<1B>*p0x0Y<1B>*c0t9018x5418Y"
  771.                 }
  772.             }
  773.         }
  774.     }
  775.     *Option: Foolscap
  776.     {
  777.         *rcNameID: 392          *%%% "8.25x13"
  778.         *PageDimensions: PAIR(9900, 15600)
  779.         *switch: Orientation
  780.         {
  781.             *case: PORTRAIT
  782.             {
  783.                 *PrintableArea: PAIR(9300, 15000)
  784.                 *PrintableOrigin: PAIR(300, 300)
  785.                 *CursorOrigin: PAIR(300, 180)
  786.                 *Command: CmdSelect
  787.                 {
  788.                     *Order: DOC_SETUP.40
  789.                     *Cmd: "<1B>&l2012a8c1E<1B>*p0x0Y<1B>*c0t5598x9018Y"
  790.                 }
  791.             }
  792.             *case: LANDSCAPE_CC90
  793.             {
  794.                 *PrintableArea: PAIR(9300, 15000)
  795.                 *PrintableOrigin: PAIR(300, 300)
  796.                 *CursorOrigin: PAIR(200, 15300)
  797.                 *Command: CmdSelect
  798.                 {
  799.                     *Order: DOC_SETUP.40
  800.                     *Cmd: "<1B>&l2012a8c1E<1B>*p0x0Y<1B>*c0t9018x5598Y"
  801.                 }
  802.             }
  803.         }
  804.     }
  805.     *Option: FOLIO
  806.     {
  807.         *rcNameID: 391          *%%% "8.5x13"
  808.         *switch: Orientation
  809.         {
  810.             *case: PORTRAIT
  811.             {
  812.                 *PrintableArea: PAIR(9600, 15000)
  813.                 *PrintableOrigin: PAIR(300, 300)
  814.                 *CursorOrigin: PAIR(300, 180)
  815.                 *Command: CmdSelect
  816.                 {
  817.                     *Order: DOC_SETUP.40
  818.                     *Cmd: "<1B>&l2007a8c1E<1B>*p0x0Y<1B>*c0t5760x9018Y"
  819.                 }
  820.             }
  821.             *case: LANDSCAPE_CC90
  822.             {
  823.                 *PrintableArea: PAIR(9600, 15000)
  824.                 *PrintableOrigin: PAIR(300, 300)
  825.                 *CursorOrigin: PAIR(200, 15300)
  826.                 *Command: CmdSelect
  827.                 {
  828.                     *Order: DOC_SETUP.40
  829.                     *Cmd: "<1B>&l2007a8c1E<1B>*p0x0Y<1B>*c0t9018x5880Y"
  830.                 }
  831.             }
  832.         }
  833.     }
  834. }
  835. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.11X17)
  836. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.LEGAL)
  837. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.EXECUTIVE)
  838. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.STATEMENT)
  839. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.A3)
  840. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.A5)
  841. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.A6)
  842. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.B4)
  843. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.B5)
  844. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.GovernmentLegal)
  845. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.Foolscap)
  846. *InvalidCombination: LIST(InputBin.LARGECAPACITY, PaperSize.FOLIO)
  847. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.EXECUTIVE)
  848. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.A6)
  849. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.EXECUTIVE)
  850. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.A6)
  851. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.EXECUTIVE)
  852. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.A6)
  853.  
  854. *%======== OutputBin ========
  855. *Feature: OutputBin
  856. {
  857.     *rcNameID: =OUTPUTBIN_DISPLAY
  858.     *DefaultOption: PrinterDefault
  859.     *Option: PrinterDefault
  860.     {
  861.         *rcNameID: 291          *%%% "Printer Default"
  862.         *Command: CmdSelect
  863.         {
  864.             *Order: JOB_SETUP.40
  865.             *Cmd: ""
  866.         }
  867.     }
  868.     *Option: ExternalTray
  869.     {
  870.         *rcNameID: 279          *%%% "External Tray"
  871.         *Command: CmdSelect
  872.         {
  873.             *Order: JOB_SETUP.40
  874.             *Cmd: "@PJL SET OUTBIN=UPPER<0A>"
  875.         }
  876.     }
  877.     *Option: FinisherProofTray
  878.     {
  879.         *rcNameID: 357          *%%% "Finisher Proof Tray"
  880.         *Command: CmdSelect
  881.         {
  882.             *Order: JOB_SETUP.40
  883.             *Cmd: "@PJL SET OUTBIN=FINISHERPROOF<0A>"
  884.         }
  885.     }
  886.     *Option: FinisherShiftTray
  887.     {
  888.         *rcNameID: 358          *%%% "Finisher Shift Tray"
  889.         *Command: CmdSelect
  890.         {
  891.             *Order: JOB_SETUP.40
  892.             *Cmd: "@PJL SET OUTBIN=FINISHERSHIFT<0A>"
  893.         }
  894.     }
  895. *%  *Option: BookletFinisherTray
  896. *%  {
  897. *%      *rcNameID: 404          *%%% "Booklet Finisher Tray"
  898. *%      *Command: CmdSelect
  899. *%      {
  900. *%          *Order: JOB_SETUP.40
  901. *%          *Cmd: "@PJL SET OUTBIN=FINISHERBOOKLET<0A>"
  902. *%      }
  903. *%  }
  904.     *Option: MailboxProofTray
  905.     {
  906.         *rcNameID: 359          *%%% "Mailbox Proof Tray"
  907.         *Command: CmdSelect
  908.         {
  909.             *Order: JOB_SETUP.40
  910.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN1<0A>"
  911.         }
  912.     }
  913.     *Option: OutputBin1
  914.     {
  915.         *rcNameID: 360          *%%% "Mailbox Tray 1"
  916.         *Command: CmdSelect
  917.         {
  918.             *Order: JOB_SETUP.40
  919.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN2<0A>"
  920.         }
  921.     }
  922.     *Option: OutputBin2
  923.     {
  924.         *rcNameID: 361          *%%% "Mailbox Tray 2"
  925.         *Command: CmdSelect
  926.         {
  927.             *Order: JOB_SETUP.40
  928.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN3<0A>"
  929.         }
  930.     }
  931.     *Option: OutputBin3
  932.     {
  933.         *rcNameID: 362          *%%% "Mailbox Tray 3"
  934.         *Command: CmdSelect
  935.         {
  936.             *Order: JOB_SETUP.40
  937.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN4<0A>"
  938.         }
  939.     }
  940.     *Option: OutputBin4
  941.     {
  942.         *rcNameID: 363          *%%% "Mailbox Tray 4"
  943.         *Command: CmdSelect
  944.         {
  945.             *Order: JOB_SETUP.40
  946.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN5<0A>"
  947.         }
  948.     }
  949.     *Option: OutputBin5
  950.     {
  951.         *rcNameID: 364          *%%% "Mailbox Tray 5"
  952.         *Command: CmdSelect
  953.         {
  954.             *Order: JOB_SETUP.40
  955.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN6<0A>"
  956.         }
  957.     }
  958.     *Option: OutputBin6
  959.     {
  960.         *rcNameID: 365          *%%% "Mailbox Tray 6"
  961.         *Command: CmdSelect
  962.         {
  963.             *Order: JOB_SETUP.40
  964.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN7<0A>"
  965.         }
  966.     }
  967.     *Option: OutputBin7
  968.     {
  969.         *rcNameID: 366          *%%% "Mailbox Tray 7"
  970.         *Command: CmdSelect
  971.         {
  972.             *Order: JOB_SETUP.40
  973.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN8<0A>"
  974.         }
  975.     }
  976.     *Option: OutputBin8
  977.     {
  978.         *rcNameID: 367          *%%% "Mailbox Tray 8"
  979.         *Command: CmdSelect
  980.         {
  981.             *Order: JOB_SETUP.40
  982.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN9<0A>"
  983.         }
  984.     }
  985.     *Option: OutputBin9
  986.     {
  987.         *rcNameID: 368          *%%% "Mailbox Tray 9"
  988.         *Command: CmdSelect
  989.         {
  990.             *Order: JOB_SETUP.40
  991.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN10<0A>"
  992.         }
  993.     }
  994. }
  995.  
  996. *%======== Collate ========
  997. *Feature: Collate
  998. {
  999.     *Name: "Collated"       *%%% This string isn't used in UI.
  1000.     *DefaultOption: OFF
  1001.     *Option: ON
  1002.     {
  1003.         *rcNameID: =ON_DISPLAY
  1004.         *switch: Finisher
  1005.         {
  1006.             *case: NotInstalled
  1007.             {
  1008.                 *Command: CmdSelect
  1009.                 {
  1010.                     *Order: JOB_SETUP.50
  1011.                     *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>@PJL SET JOBOFFSET=ROTATE<0A>"
  1012.                 }
  1013.             }
  1014.             *default:
  1015.             {
  1016.                 *Command: CmdSelect
  1017.                 {
  1018.                     *Order: JOB_SETUP.50
  1019.                     *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>@PJL SET JOBOFFSET=SHIFT<0A>"
  1020.                 }
  1021.             }
  1022.         }
  1023.     }
  1024.     *Option: OFF
  1025.     {
  1026.         *rcNameID: =OFF_DISPLAY
  1027.         *switch: Finisher
  1028.         {
  1029.             *case: NotInstalled
  1030.             {
  1031.                 *Command: CmdSelect
  1032.                 {
  1033.                     *Order: JOB_SETUP.50
  1034. *%                  *Cmd: "@PJL SET JOBOFFSET=OFF<0A>"
  1035.                     *CallbackID: =CMD_COLLATE_JOBOFFSET_ROTATE
  1036.                     *Params: LIST(NumOfCopies)
  1037.                 }
  1038.             }
  1039.             *default:
  1040.             {
  1041.                 *Command: CmdSelect
  1042.                 {
  1043.                     *Order: JOB_SETUP.50
  1044. *%                  *Cmd: "@PJL SET JOBOFFSET=OFF<0A>"
  1045.                     *CallbackID: =CMD_COLLATE_JOBOFFSET_SHIFT
  1046.                     *Params: LIST(NumOfCopies)
  1047.                 }
  1048.             }
  1049.         }
  1050.     }
  1051. }
  1052.  
  1053. *%======== Stapling ========
  1054. *Macros: CmdStrings_Stapling
  1055. {
  1056.     PRECMD_STAPLE: "@PJL SET QTY=" %d{NumOfCopies}"<0A>@PJL SET OUTBIN=FINISHERSHIFT<0A>@PJL SET JOBOFFSET=OFF<0A>"
  1057. }
  1058. *Feature: Stapling
  1059. {
  1060.     *rcNameID: 369              *%%% "Staple"
  1061.     *DefaultOption: OFF
  1062.     *Option: OFF
  1063.     {
  1064.         *rcNameID: =OFF_DISPLAY
  1065.         *Command: CmdSelect
  1066.         {
  1067.             *Order: JOB_SETUP.60
  1068.             *Cmd: "@PJL SET STAPLE=OFF<0A>"
  1069.         }
  1070.     }
  1071.     *Option: TopLeftSlant
  1072.     {
  1073.         *rcNameID: 405          *%%% "Upper Left Slant"
  1074.         *switch: Orientation
  1075.         {
  1076.             *case: PORTRAIT
  1077.             {
  1078.                 *Command: CmdSelect
  1079.                 {
  1080.                     *Order: JOB_SETUP.60
  1081.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPSLANTPORT<0A>"
  1082.                 }
  1083.             }
  1084.             *case: LANDSCAPE_CC90
  1085.             {
  1086.                 *Command: CmdSelect
  1087.                 {
  1088.                     *Order: JOB_SETUP.60
  1089.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPSLANTLAND<0A>"
  1090.                 }
  1091.             }
  1092.         }
  1093.     }
  1094.     *Option: TopLeftHorizontal
  1095.     {
  1096.         *rcNameID: 407          *%%% "Upper Left Horizontal"
  1097.         *switch: Orientation
  1098.         {
  1099.             *case: PORTRAIT
  1100.             {
  1101.                 *Command: CmdSelect
  1102.                 {
  1103.                     *Order: JOB_SETUP.60
  1104.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPHORIZPORT<0A>"
  1105.                 }
  1106.             }
  1107.             *case: LANDSCAPE_CC90
  1108.             {
  1109.                 *Command: CmdSelect
  1110.                 {
  1111.                     *Order: JOB_SETUP.60
  1112.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPHORIZLAND<0A>"
  1113.                 }
  1114.             }
  1115.         }
  1116.     }
  1117.     *Option: TopLeftVertical
  1118.     {
  1119.         *rcNameID: 406          *%%% "Upper Left Vertical"
  1120.         *switch: Orientation
  1121.         {
  1122.             *case: PORTRAIT
  1123.             {
  1124.                 *Command: CmdSelect
  1125.                 {
  1126.                     *Order: JOB_SETUP.60
  1127.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPVERTPORT<0A>"
  1128.                 }
  1129.             }
  1130.             *case: LANDSCAPE_CC90
  1131.             {
  1132.                 *Command: CmdSelect
  1133.                 {
  1134.                     *Order: JOB_SETUP.60
  1135.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFTTOPVERTLAND<0A>"
  1136.                 }
  1137.             }
  1138.         }
  1139.     }
  1140.     *Option: Top2
  1141.     {
  1142.         *rcNameID: 408          *%%% "Upper 2"
  1143.         *switch: Orientation
  1144.         {
  1145.             *case: PORTRAIT
  1146.             {
  1147.                 *Command: CmdSelect
  1148.                 {
  1149.                     *Order: JOB_SETUP.60
  1150.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=TOP2PORT<0A>"
  1151.                 }
  1152.             }
  1153.             *case: LANDSCAPE_CC90
  1154.             {
  1155.                 *Command: CmdSelect
  1156.                 {
  1157.                     *Order: JOB_SETUP.60
  1158.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=TOP2LAND<0A>"
  1159.                 }
  1160.             }
  1161.         }
  1162.     }
  1163.     *Option: Left2
  1164.     {
  1165.         *rcNameID: 374          *%%% "Left 2"
  1166.         *switch: Orientation
  1167.         {
  1168.             *case: PORTRAIT
  1169.             {
  1170.                 *Command: CmdSelect
  1171.                 {
  1172.                     *Order: JOB_SETUP.60
  1173.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFT2PORT<0A>"
  1174.                 }
  1175.             }
  1176.             *case: LANDSCAPE_CC90
  1177.             {
  1178.                 *Command: CmdSelect
  1179.                 {
  1180.                     *Order: JOB_SETUP.60
  1181.                     *Cmd: =PRECMD_STAPLE "@PJL SET STAPLE=LEFT2LAND<0A>"
  1182.                 }
  1183.             }
  1184.         }
  1185.     }
  1186. *%  *Option: Booklet
  1187. *%  {
  1188. *%      *rcNameID: 409          *%%% "Booklet"
  1189. *%      *Command: CmdSelect
  1190. *%      {
  1191. *%          *Order: JOB_SETUP.60
  1192. *%          *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>@PJL SET OUTBIN=FINISHERBOOKLET<0A>"
  1193. *% +              "@PJL SET JOBOFFSET=OFF<0A>@PJL SET STAPLE=BOOKLET<0A>"
  1194. *%      }
  1195. *%  }
  1196. }
  1197. *InvalidCombination: LIST(InputBin.BypassTray, Stapling.TopLeftSlant)
  1198. *InvalidCombination: LIST(InputBin.BypassTray, Stapling.TopLeftVertical)
  1199. *InvalidCombination: LIST(InputBin.BypassTray, Stapling.TopLeftHorizontal)
  1200. *InvalidCombination: LIST(InputBin.BypassTray, Stapling.Top2)
  1201. *InvalidCombination: LIST(InputBin.BypassTray, Stapling.Left2)
  1202. *% *InvalidCombination: LIST(InputBin.BypassTray, Stapling.Booklet)
  1203.  
  1204. *%======== Punching (custom feature) ========
  1205. *Macros: CmdStrings_Punching
  1206. {
  1207.     PRECMD_PUNCH: "@PJL SET OUTBIN=FINISHERSHIFT<0A>"
  1208. }
  1209. *Feature: Punching
  1210. {
  1211.     *rcNameID: 375          *%%% "Punch"
  1212.     *FeatureType: DOC_PROPERTY
  1213.     *DefaultOption: OFF
  1214.     *Option: OFF
  1215.     {
  1216.         *rcNameID: =OFF_DISPLAY
  1217.         *Command: CmdSelect
  1218.         {
  1219.             *Order: JOB_SETUP.70
  1220.             *Cmd: "@PJL SET PUNCH=OFF<0A>"
  1221.         }
  1222.     }
  1223.     *Option: Left
  1224.     {
  1225.         *rcNameID: 376          *%%% "Left"
  1226.         *switch: Orientation
  1227.         {
  1228.             *case: PORTRAIT
  1229.             {
  1230.                 *Command: CmdSelect
  1231.                 {
  1232.                     *Order: JOB_SETUP.70
  1233.                     *Cmd: =PRECMD_PUNCH "@PJL SET PUNCH=LEFTPORT<0A>"
  1234.                 }
  1235.             }
  1236.             *case: LANDSCAPE_CC90
  1237.             {
  1238.                 *Command: CmdSelect
  1239.                 {
  1240.                     *Order: JOB_SETUP.70
  1241.                     *Cmd: =PRECMD_PUNCH "@PJL SET PUNCH=LEFTLAND<0A>"
  1242.                 }
  1243.             }
  1244.         }
  1245.     }
  1246.     *Option: Top
  1247.     {
  1248.         *rcNameID: 377          *%%% "Top"
  1249.         *switch: Orientation
  1250.         {
  1251.             *case: PORTRAIT
  1252.             {
  1253.                 *Command: CmdSelect
  1254.                 {
  1255.                     *Order: JOB_SETUP.70
  1256.                     *Cmd: =PRECMD_PUNCH "@PJL SET PUNCH=TOPPORT<0A>"
  1257.                 }
  1258.             }
  1259.             *case: LANDSCAPE_CC90
  1260.             {
  1261.                 *Command: CmdSelect
  1262.                 {
  1263.                     *Order: JOB_SETUP.70
  1264.                     *Cmd: =PRECMD_PUNCH "@PJL SET PUNCH=TOPLAND<0A>"
  1265.                 }
  1266.             }
  1267.         }
  1268.     }
  1269. }
  1270. *InvalidCombination: LIST(InputBin.BypassTray, Punching.Left)
  1271. *InvalidCombination: LIST(InputBin.BypassTray, Punching.Top)
  1272.  
  1273. *%======== Duplex ========
  1274. *Feature: Duplex
  1275. {
  1276.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1277.     *DefaultOption: NONE
  1278.     *Option: NONE
  1279.     {
  1280.         *rcNameID: =NONE_DISPLAY
  1281.         *Command: CmdSelect
  1282.         {
  1283.             *Order: DOC_SETUP.20
  1284.             *Cmd: "<1B>&l0S"
  1285.         }
  1286.     }
  1287.     *Option: VERTICAL
  1288.     {
  1289.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1290.         *Command: CmdSelect
  1291.         {
  1292.             *Order: DOC_SETUP.20
  1293.             *Cmd: "<1B>&l1S"
  1294.         }
  1295.     }
  1296.     *Option: HORIZONTAL
  1297.     {
  1298.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1299.         *Command: CmdSelect
  1300.         {
  1301.             *Order: DOC_SETUP.20
  1302.             *Cmd: "<1B>&l2S"
  1303.         }
  1304.     }
  1305. }
  1306. *InvalidCombination: LIST(InputBin.BypassTray, Duplex.VERTICAL)
  1307. *InvalidCombination: LIST(InputBin.BypassTray, Duplex.HORIZONTAL)
  1308.  
  1309. *%======== PrintQuality ========
  1310. *Feature: PrintQuality
  1311. {
  1312.     *rcNameID: =TEXT_QUALITY_DISPLAY
  1313.     *DefaultOption: SmoothingOff
  1314.     *Option: SmoothingOff
  1315.     {
  1316.         *rcNameID: 306          *%%% "Edge Smoothing - Off"
  1317.         *Command: CmdSelect
  1318.         {
  1319.             *Order: JOB_SETUP.20
  1320.             *Cmd: "@PJL SET SMOOTHING=OFF<0A>"
  1321.         }
  1322.     }
  1323.     *Option: SmoothingOn
  1324.     {
  1325.         *rcNameID: 305          *%%% "Edge Smoothing - On"
  1326.         *Command: CmdSelect
  1327.         {
  1328.             *Order: JOB_SETUP.20
  1329.             *Cmd: "@PJL SET SMOOTHING=ON<0A>"
  1330.         }
  1331.     }
  1332. }
  1333.  
  1334. *%======== PrintDensity ========
  1335. *Feature: PrintDensity
  1336. {
  1337.     *rcNameID: =PRINTDENSITY_DISPLAY
  1338.     *DefaultOption: EconomodeOff
  1339.     *Option: EconomodeOff
  1340.     {
  1341.         *rcNameID: 322          *%%% "Toner Saver - Off"
  1342.         *Command: CmdSelect
  1343.         {
  1344.             *Order: JOB_SETUP.30
  1345.             *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  1346.         }
  1347.     }
  1348.     *Option: EconomodeOn
  1349.     {
  1350.         *rcNameID: 323          *%%% "Toner Saver - On"
  1351.         *Command: CmdSelect
  1352.         {
  1353.             *Order: JOB_SETUP.30
  1354.             *Cmd: "@PJL SET ECONOMODE=ON<0A>"
  1355.         }
  1356.     }
  1357. }
  1358.  
  1359. *%======== Halftone ========
  1360. *Feature: Halftone
  1361. {
  1362.     *rcNameID: =HALFTONING_DISPLAY
  1363.     *DefaultOption: HT_PATSIZE_8x8_M
  1364.     *Option: HT_PATSIZE_AUTO
  1365.     {
  1366.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  1367.     }
  1368.     *Option: HT_PATSIZE_6x6_M
  1369.     {
  1370.         *rcNameID: =HT_DITHER6X6_DISPLAY
  1371.     }
  1372.     *Option: HT_PATSIZE_8x8_M
  1373.     {
  1374.         *rcNameID: =HT_DITHER8X8_DISPLAY
  1375.     }
  1376.     *Option: HT_PATSIZE_10x10_M
  1377.     {
  1378.         *rcNameID: 397          *%%% "Dither 10x10"
  1379.     }
  1380. }
  1381.  
  1382. *%======== StartJob ========
  1383. *switch: Orientation
  1384. {
  1385.     *case: PORTRAIT
  1386.     {
  1387.         *switch: InputBin
  1388.         {
  1389.             *case: AUTO
  1390.             {
  1391.                 *Command: CmdStartJob
  1392.                 {
  1393.                     *Order: JOB_SETUP.10
  1394.                     *CallbackID: =CMD_STARTJOB_PORT_AUTOTRAYCHANGE_ON
  1395.                 }
  1396.             }
  1397.             *default:
  1398.             {
  1399.                 *Command: CmdStartJob
  1400.                 {
  1401.                     *Order: JOB_SETUP.10
  1402.                     *CallbackID: =CMD_STARTJOB_PORT_AUTOTRAYCHANGE_OFF
  1403.                 }
  1404.             }
  1405.         }
  1406.     }
  1407.     *case: LANDSCAPE_CC90
  1408.     {
  1409.         *switch: InputBin
  1410.         {
  1411.             *case: AUTO
  1412.             {
  1413.                 *Command: CmdStartJob
  1414.                 {
  1415.                     *Order: JOB_SETUP.10
  1416.                     *CallbackID: =CMD_STARTJOB_LAND_AUTOTRAYCHANGE_ON
  1417.                 }
  1418.             }
  1419.             *default:
  1420.             {
  1421.                 *Command: CmdStartJob
  1422.                 {
  1423.                     *Order: JOB_SETUP.10
  1424.                     *CallbackID: =CMD_STARTJOB_LAND_AUTOTRAYCHANGE_OFF
  1425.                 }
  1426.             }
  1427.         }
  1428.     }
  1429. }
  1430.  
  1431. *%======== StartDoc ========
  1432. *Command: CmdStartDoc
  1433. {
  1434.     *Order: DOC_SETUP.10
  1435.     *Cmd: "<1B>&u600D<1B>*r0F"
  1436. }
  1437.  
  1438. *%======== StartPage ========
  1439. *Command: CmdStartPage
  1440. {
  1441.     *Order: PAGE_SETUP.10
  1442.     *Cmd: "<1B>*b0M<0D>"
  1443. }
  1444.  
  1445. *%======== EndJob ========
  1446. *Command: CmdEndJob
  1447. {
  1448.     *Order: JOB_FINISH.10
  1449.     *CallbackID: =CMD_ENDJOB_P5
  1450. }
  1451.  
  1452. *%======== Copies ========
  1453. *switch: Collate
  1454. {
  1455.     *case: OFF
  1456.     {
  1457.         *switch: Stapling
  1458.         {
  1459.             *case: OFF
  1460.             {
  1461.                 *Command: CmdCopies
  1462.                 {
  1463.                     *Order: DOC_SETUP.50
  1464. *%                  *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1465.                     *CallbackID: =CMD_COPIES_P5
  1466.                     *Params: LIST(NumOfCopies)
  1467.                 }
  1468.             }
  1469.             *default:
  1470.             {
  1471.                 *Command: CmdCopies
  1472.                 {
  1473.                     *Order: DOC_SETUP.50
  1474.                     *Cmd: "<1B>&l1X"
  1475.                 }
  1476.             }
  1477.         }
  1478.     }
  1479.     *case: ON
  1480.     {
  1481.         *Command: CmdCopies
  1482.         {
  1483.             *Order: DOC_SETUP.50
  1484.             *Cmd: "<1B>&l1X"
  1485.         }
  1486.     }
  1487. }
  1488.  
  1489. *%======== Capabilities ========
  1490. *RotateCoordinate?: TRUE
  1491. *RotateRaster?: TRUE
  1492. *RotateFont?: TRUE
  1493. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  1494. *MemoryUsage: LIST(FONT)
  1495.  
  1496. *%======== Cursor Control ========
  1497. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1498. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1499. *XMoveThreshold: 0
  1500. *YMoveThreshold: 0
  1501. *XMoveUnit: 600
  1502. *YMoveUnit: 600
  1503. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2)}"X" }
  1504. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2))}"X" }
  1505. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2))}"X" }
  1506. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2)}"Y" }
  1507. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2)}"Y" }
  1508. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2)}"Y" }
  1509. *Command: CmdCR { *Cmd : "<0D>" }
  1510. *Command: CmdLF { *Cmd : "<0A>" }
  1511. *Command: CmdFF { *Cmd : "<0C>" }
  1512. *Command: CmdBackSpace { *Cmd : "<08>" }
  1513. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  1514. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  1515. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  1516. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  1517. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  1518. *EjectPageWithFF?: TRUE
  1519.  
  1520. *%======== Raster Data ========
  1521. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  1522. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  1523. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  1524. *OutputDataFormat: H_BYTE
  1525. *OptimizeLeftBound?: TRUE
  1526. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1527. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1528.  
  1529. *%======== Font ========
  1530. *DefaultFont: =RC_FONT_COURIERR
  1531. *DeviceFonts: =ALL_DEVICEFONTS
  1532. *DefaultCTT: 0
  1533. *CharPosition: BASELINE
  1534. *TTFSEnabled?: TRUE
  1535. *MinFontID: 16534
  1536. *MaxFontID: 32768
  1537. *switch: Resolution
  1538. {
  1539.     *case: 600dpi
  1540.     {
  1541.         *FontFormat: HPPCL_OUTLINE
  1542.     }
  1543.     *case: 300dpi
  1544.     {
  1545.         *FontFormat: HPPCL_RES
  1546.     }
  1547. }
  1548. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  1549. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  1550. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  1551. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  1552. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  1553. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  1554. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  1555.  
  1556. *%======== RectFill ========
  1557. *MinGrayFill: 1
  1558. *MaxGrayFill: 100
  1559. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2)}"A" }
  1560. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2)}"B" }
  1561. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  1562. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  1563.  
  1564. *Ifdef: WINNT_51
  1565. *Personality: =PERSONALITY_HPGL2
  1566. *%======== HP-GL/2 Graphics Mode ========
  1567. *Feature: GraphicsMode
  1568. {
  1569.     *rcNameID: =GRAPHICSMODE_DISPLAY
  1570.     *DefaultOption: HPGL2MODE
  1571.     *Option: HPGL2MODE
  1572.     {
  1573.         *rcNameID: =GRAPHICSMODE_HPGL2_DISPLAY
  1574.     }
  1575.     *Option: RASTERMODE
  1576.     {
  1577.         *rcNameID: =GRAPHICSMODE_RASTER_DISPLAY
  1578.     }
  1579. }
  1580. *Endif:
  1581.